function audit_edit(){
	var baseUrl = moduleUrl.substring(0,moduleUrl.lastIndexOf("/") );
	var parent = "";
	if (hasParent())
		parent = "_" + parentId;
	var selectItemId = getSelectItemId();
	if (selectItemId)
		top.openModule(moduleId + "-audit_edit", moduleName + "-审核", baseUrl + "/"
				+ selectItemId + "/audit-edit" + parent);
}

function audit(auditResult){
	$.post("audit",{_id:$("#_id").val(),resultType:auditResult,resultAudit:$("#resultAudit").val()}, function(data) {
		var msg = "操作失败";
		if (data.status) {
			if (data.info)
				msg = data.info;
			else
				msg = "操作成功";
		} else {
			if (data.info)
				msg = data.info;
		}
		top.showMsg(msg);
		top.reloadModule(parentModuleId);
		top.closeModule(moduleName, parentModuleName);
	});
}